<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
<ui:composition>
<rich:panel styleClass="panel"> 
		<a4j:repeat value="#{componentNavigator.groups}" var="group">
			<rich:panelMenu  iconExpandedGroup="disc"
			iconCollapsedGroup="disc" styleClass="panelbar" iconExpandedTopGroup="chevronUp"
			iconCollapsedTopGroup="chevronDown" iconGroupTopPosition="right" mode="ajax" >
				<rich:panelMenuGroup label="#{group.fullname}"  styleClass="panelbaritem">
					<rich:panelMenuItem styleClass="panelMenuItem">
					 <ui:include src="/templates/default/menu-function-components.xhtml" >
		 				<ui:param name="cats" value="#{group.categories}" />
		 		    </ui:include>  
	 		    </rich:panelMenuItem>
				</rich:panelMenuGroup>
			</rich:panelMenu>
		</a4j:repeat>
	</rich:panel>
	<img src="${facesContext.externalContext.requestContextPath}/templates/default/images/left-bottom.gif" class="panelbottomimg" alt="" /> 
</ui:composition>
</html>

